package com.dai.design.demeter;

/**
 * @author daijiyong
 */
public class DemeterTest {
    public static void main(String[] args) {
        Department departmentA = new Department();

        HumanResources humanResources = new HumanResources();

        departmentA.recruit(humanResources);
        ;

        //另外一个部门也要招人
        Department departmentB = new Department();
        departmentB.recruit(humanResources);
    }
}
